From: Jonas Dreßler Date: Thu, 12 Mar 2020 12:33:25 +0000 (+0100) Subject: st/viewport: Invalidate transform when it changes X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~684^2^2~188 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ecdf62d63eee50c7655e82bf16da157c998e4529;p=gnome-shell.git st/viewport: Invalidate transform when it changes Since ClutterActor now caches the whole transformation matrix for an actor, we need to invalidate the cached transform if the matrix returned by apply_transform() implementations changes. https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1308 --- diff --git a/src/st/st-viewport.c b/src/st/st-viewport.c index 039eebf46..0eb1868ab 100644 --- a/src/st/st-viewport.c +++ b/src/st/st-viewport.c @@ -78,6 +78,7 @@ adjustment_value_notify_cb (StAdjustment *adjustment, GParamSpec *pspec, StViewport *viewport) { + clutter_actor_invalidate_transform (CLUTTER_ACTOR (viewport)); clutter_actor_queue_relayout (CLUTTER_ACTOR (viewport)); }